import './App.css';
import Home from "./views/home/home"
import Start from "./views/start/start"
import Page404 from "./404"

import {
    BrowserRouter as Router,
    Route,
    Switch
} from "react-router-dom";

function App() {
    return (
        <div className="App">
            <Router>
                <Switch>
                    <Route exact path="/">
                        <Start />
                    </Route>
                    <Route exact path="/home">
                        <Home />
                    </Route>
                    <Route component={Page404} />
                </Switch>
            </Router>
        </div>
    );
}

export default App;
